package a.f.h.d;

import a.c.m;
import a.c.v;
import a.c.y;
import a.c.z;
import a.f.h.b.f;
import a.f.h.b.k;
import a.f.j.o;

class i
  implements a.f.h.c.c
{
  private c a;
  private a.f.h.c.l b;
  private a.f.h.c.l c;
  private z d;
  
  public void a(z paramz)
  {
    this.d = paramz;
  }
  
  public void a(f paramf, a.f.h.c.l paraml1, a.f.h.c.l paraml2)
  {
    int i = j.r;
    boolean bool = j.q;
    this.a = ((c)paramf);
    this.b = paraml1;
    this.c = paraml2;
    o localo = this.a.c();
    if (localo.e()) {
      if (i == 0) {
        if (this.d == null)
        {
          a(localo.a());
          if (i != 0) {
            break label122;
          }
          if (!bool) {
            break label113;
          }
        }
      }
    }
    label113:
    label122:
    while (i != 0)
    {
      if (i == 0)
      {
        if (!this.d.contains(localo.a())) {
          a(localo.a());
        }
        localo.f();
      }
      if (!bool) {
        break;
      }
    }
  }
  
  private void a(a.f.j.n paramn)
  {
    int j = j.r;
    z localz1 = b(paramn);
    z localz2 = new z();
    localz2.add(new c_());
    localz2.add(new b_());
    localz2.add(new a_());
    a(localz1, localz2);
    if (j == 0) {}
    int i = localz1.size() == 4 ? 1 : 0;
    if (j == 0)
    {
      if (i == 0) {
        localz1 = b(localz1);
      }
    }
    else
    {
      z localz3 = new z();
      localz3.add(new f_());
      a(localz1, localz3);
    }
  }
  
  private z b(a.f.j.n paramn)
  {
    int j = j.r;
    boolean bool = j.q;
    z localz = new z();
    m localm = paramn.a();
    label123:
    label124:
    do
    {
      if (!localm.e()) {
        break;
      }
      a.c.d locald = localm.a();
      if (j == 0)
      {
        if (this.a.e(locald) == 2) {
          break label549;
        }
        if (j != 0) {}
      }
      else if (this.a.i(locald) != k.a)
      {
        if (j != 0) {
          break label124;
        }
        if (this.a.i(locald) != k.c) {
          break label123;
        }
      }
      a.f.h.c.l locall1 = this.c;
      a.f.h.c.l locall2 = this.b;
      if (j == 0)
      {
        if (bool) {
          locall1 = this.b;
        }
      }
      else {
        locall2 = this.c;
      }
      a.f.h.c.d locald1 = locall2.a(locald);
      a.c.e locale = locald.e();
      l locall3 = new l(locald1);
      a.f.h.c.d locald2 = locall1.a(locale);
      l locall4 = new l(locald2);
      int i = 2;
      if (j == 0) {
        if (this.a.d(locale)) {
          i = 1;
        }
      }
      if (j == 0) {
        if (this.a.e(locale)) {
          i = 0;
        }
      }
      e locale1;
      switch (this.a.e(locald))
      {
      case 1: 
        locale1 = new e(locall4, locall3, 0, this.a.i(locald), i);
        localz.add(locale1);
        if (j != 0) {
          continue;
        }
        if (!bool) {
          break;
        }
      case 3: 
        locale1 = new e(locall4, locall3, 1, this.a.i(locald), i);
        if (j == 0)
        {
          if (this.a.h(locale))
          {
            if (j == 0) {
              if (this.a.s(this.a.a(locald))) {
                locale1.a(true);
              }
            }
            if (j != 0) {
              break label427;
            }
            if (this.a.s(this.a.a(this.a.b().d(locald)))) {
              locale1.b(true);
            }
          }
          localz.add(locale1);
        }
        if (j != 0) {
          continue;
        }
        if (!bool) {
          break;
        }
      case 4: 
        k localk = this.a.i(locald).b();
        locale1 = new e(locall3, locall4, 1, localk, i);
        localz.add(locale1);
        locale1 = new e(locall4, locall3, 1, this.a.i(locald), i);
        localz.add(locale1);
        if (j != 0) {
          continue;
        }
        if (!bool) {
          break;
        }
      case 2: 
      default: 
        System.err.println("Impossible Angle :" + this.a.e(locald));
      }
      localm.f();
    } while (!bool);
    label427:
    return localz;
  }
  
  z b(z paramz)
  {
    int n = j.r;
    boolean bool = j.q;
    int i = 0;
    Object localObject1 = null;
    Object localObject2 = null;
    if (i != -4)
    {
      localObject2 = localObject1;
      localObject1 = (e)paramz.a(0);
      paramz.b();
      if (n == 0) {
        paramz.add(localObject1);
      }
    }
    label166:
    label201:
    label241:
    while (n != 0)
    {
      if (bool) {
        break label303;
      }
      if (n == 0) {
        if (((e)localObject1).a() == 2)
        {
          i = 0;
          if ((n == 0) && (!bool)) {
            continue;
          }
        }
      }
      if ((n != 0) || ((((e)localObject1).b() != 0) || (((n != 0) || (i != 2)) && ((n != 0) || (i != 4)) && ((n != 0) || (i != 5)))))
      {
        if (n == 0) {
          if (((e)localObject1).b() == 1)
          {
            if (n != 0) {
              break label166;
            }
            if (i == 4)
            {
              i = 5;
              if ((n == 0) && (!bool)) {
                break;
              }
            }
          }
        }
        if (n == 0) {
          if (((e)localObject1).b() == 1)
          {
            if (n != 0) {
              break label201;
            }
            if (i == 3)
            {
              i = 4;
              if ((n == 0) && (!bool)) {
                break;
              }
            }
          }
        }
        if (n == 0)
        {
          if (((e)localObject1).b() == 1)
          {
            if (n != 0) {
              break label241;
            }
            if (i == 2)
            {
              i = 3;
              if ((n == 0) && (!bool)) {
                break;
              }
            }
          }
          if (n != 0) {
            break label270;
          }
        }
        if (((e)localObject1).b() == 1)
        {
          if (n != 0) {
            break label270;
          }
          if (i == 1)
          {
            i = 2;
            if ((n == 0) && (!bool)) {
              break;
            }
          }
        }
        if (n == 0)
        {
          if (((e)localObject1).b() == 0)
          {
            i = 1;
            if (n != 0) {
              break label294;
            }
            if (!bool) {
              break;
            }
          }
          i = 0;
        }
        if (!bool) {
          break;
        }
      }
    }
    label270:
    label294:
    label303:
    Object localObject3 = localObject1;
    Object localObject4 = null;
    Object localObject5 = null;
    k localk1 = null;
    l locall1 = new l();
    if (n == 0)
    {
      if (i != 0) {
        locall1.a(localObject2.d().c());
      }
      locall1.a(((e)localObject1).e().c());
    }
    z localz = new z();
    int j = -1;
    localObject1 = null;
    Object localObject6 = null;
    label488:
    label750:
    do
    {
      do
      {
        do
        {
          do
          {
            if (localObject1 == localObject3) {
              break label1043;
            }
            i = 0;
            int k = 1;
            l locall2 = null;
            while (k != 0)
            {
              localObject2 = localObject1;
              if (n == 0)
              {
                localObject1 = (e)paramz.a(0);
                paramz.b();
                if (locall2 == null) {
                  locall2 = ((e)localObject1).e();
                }
              }
              if (n == 0) {
                if (((e)localObject1).a() == 2)
                {
                  i = -1;
                  if ((n == 0) && (!bool)) {
                    break;
                  }
                }
              }
              int m = i;
              if (n == 0) {
                if (i == 0)
                {
                  if (n != 0) {
                    break label488;
                  }
                  if (((e)localObject1).b() == 0)
                  {
                    i = 1;
                    if (n != 0) {
                      break label607;
                    }
                    if (!bool) {
                      break label605;
                    }
                  }
                }
              }
              if (n == 0) {
                if (i == 1)
                {
                  if (n != 0) {
                    break label536;
                  }
                  if (((e)localObject1).b() == 1)
                  {
                    locall1.a(((e)localObject1).e().c());
                    i = 2;
                    if (n != 0) {
                      break label607;
                    }
                    if (!bool) {
                      break label605;
                    }
                  }
                }
              }
              if (n == 0) {
                if (i == 2)
                {
                  if (n != 0) {
                    break label571;
                  }
                  if (((e)localObject1).b() == 1)
                  {
                    i = 3;
                    if (n != 0) {
                      break label607;
                    }
                    if (!bool) {
                      break label605;
                    }
                  }
                }
              }
              if (n == 0) {
                if (i == 3)
                {
                  if (n != 0) {
                    break label607;
                  }
                  if (((e)localObject1).b() == 0)
                  {
                    locall1.a(((e)localObject1).e().c());
                    i = 0;
                  }
                }
              }
              if (m == i) {
                break;
              }
            }
            if (n == 0)
            {
              if (localObject4 == null) {
                localObject4 = locall1;
              }
            }
            else
            {
              localObject6 = locall2;
              if (n != 0) {
                break label706;
              }
              if (!bool) {
                break label692;
              }
            }
            locale1 = new e((l)localObject5, locall1, j, localk1, 2);
            localz.add(locale1);
            if (n == 0)
            {
              if (locall2 != ((e)localObject1).e()) {
                a(localk1, (l)localObject5, locall2);
              }
              localObject5 = locall1;
            }
            locall1 = new l();
            if (n != 0) {
              break label750;
            }
            if (i != -1) {
              break;
            }
            locall1.a(((e)localObject1).e().c());
            localk1 = ((e)localObject1).c();
            j = ((e)localObject1).b();
          } while ((n == 0) && (!bool));
          if ((n != 0) || (i != 0))
          {
            if (n != 0) {
              break label797;
            }
            if (i != 1) {}
          }
          else
          {
            throw new RuntimeException("Consistency error: State == " + i);
          }
          if (n == 0) {
            if (i == 2)
            {
              locall1.a(localObject2.d().c());
              locall1.a(((e)localObject1).e().c());
              localk1 = ((e)localObject1).c();
              j = 0;
            }
          }
        } while (((n == 0) && (!bool)) || (i != 3));
        locall1.a(((e)localObject1).d().c());
        e locale1 = (e)paramz.a(0);
        paramz.b();
        if (n != 0) {
          break label1075;
        }
        if ((n != 0) || (bool)) {
          break label1064;
        }
        if (locale1.b() != 0) {
          break;
        }
        locall1.a(locale1.e().c());
        j = 1;
        localk1 = locale1.c();
        localObject1 = locale1;
      } while ((n == 0) && (!bool));
      j = 1;
      localk1 = ((e)localObject1).c();
      k localk2 = localk1.b();
      localz.add(new e((l)localObject5, locall1, 1, localk2, 2));
      localObject5 = locall1;
      locall1 = new l();
      locall1.a(((e)localObject1).e().c());
      e locale2 = (e)paramz.a(0);
      if (n != 0) {
        break label1045;
      }
      paramz.b();
      locall1.a(locale2.e().c());
      localObject1 = locale2;
    } while (!bool);
    label536:
    label571:
    label605:
    label607:
    localz.add(new e((l)localObject5, localObject4, j, localk1, 2));
    label692:
    label706:
    a(localk1, (l)localObject5, localObject6);
    label797:
    label1064:
    label1075:
    return localz;
  }
  
  private void a(k paramk, l paraml1, l paraml2)
  {
    int i = j.r;
    if (i == 0) {
      if (paramk == null)
      {
        a.i.n.a("Error: Corner separate: direction == null");
        return;
      }
    }
    k localk = paramk.b();
    if (i == 0) {
      if (localk.c(k.a)) {
        l.a(this.b, paraml1, paraml2, 1);
      }
    }
    if (i == 0) {
      if (localk.c(k.c)) {
        l.a(this.b, paraml2, paraml1, 1);
      }
    }
    if (i == 0) {
      if (localk.c(k.d)) {
        l.a(this.c, paraml2, paraml1, 1);
      }
    }
    if (localk.c(k.b)) {
      l.a(this.c, paraml1, paraml2, 1);
    }
  }
  
  private void a(z paramz1, z paramz2)
  {
    int m = j.r;
    boolean bool2 = j.q;
    int i = 0;
    int j = paramz1.size();
    label104:
    do
    {
      do
      {
        if (i >= j) {
          break label142;
        }
        if (m != 0) {
          break label151;
        }
        boolean bool1 = false;
        if (bool2) {
          break label148;
        }
        y localy = paramz2.h();
        do
        {
          if (!localy.e()) {
            break;
          }
          if (bool2) {
            break label104;
          }
          if (bool1) {
            break;
          }
          d_ locald_ = (d_)localy.j();
          bool1 = locald_.a(paramz1);
          localy.f();
        } while (!bool2);
        if (m != 0) {
          break label137;
        }
        if (!bool1) {
          break;
        }
        i = 0;
        j = paramz1.size();
        if (m != 0) {
          break label139;
        }
      } while (!bool2);
      paramz1.add(paramz1.b());
      i++;
    } while (!bool2);
    label137:
    label139:
    label142:
    if (m == 0) {
      label148:
      label151:
      if ((m != 0) || (paramz1.size() == 4))
      {
        e[] arrayOfe = new e[4];
        arrayOfe[0] = ((e)paramz1.a(0));
        arrayOfe[1] = ((e)paramz1.a(1));
        arrayOfe[2] = ((e)paramz1.a(2));
        arrayOfe[3] = ((e)paramz1.a(3));
        if (((m != 0) || (arrayOfe[0].b() == 0)) && ((m != 0) || (arrayOfe[1].b() == 0)) && ((m != 0) || (arrayOfe[2].b() == 0)) && ((m != 0) || (arrayOfe[3].b() == 0)))
        {
          int k = 0;
          do
          {
            while (!bool2)
            {
              if (k >= 4) {
                break;
              }
              if (m == 0)
              {
                if (arrayOfe[k].c().c(k.a)) {
                  break;
                }
                k++;
              }
            }
            l.a(this.c, arrayOfe[((k + 1) % 4)].e(), arrayOfe[k].d(), 1);
          } while (m != 0);
          l.a(this.b, arrayOfe[((k + 3) % 4)].d(), arrayOfe[k].e(), 1);
        }
      }
    }
  }
  
  class e_
    implements i.d_
  {
    e_() {}
    
    public boolean a(z paramz)
    {
      int i = j.r;
      boolean bool = j.q;
      if (i == 0) {
        if (paramz.size() < 4) {
          return false;
        }
      }
      v localv = paramz.g();
      e locale1 = (e)localv.c();
      localv = localv.b();
      e locale2 = (e)localv.c();
      localv = localv.b();
      e locale3 = (e)localv.c();
      localv = localv.b();
      e locale4 = (e)localv.c();
      if (i == 0) {
        if (locale4.b() == 1)
        {
          if (i != 0) {
            break label444;
          }
          if (locale3.b() == 0)
          {
            if (i != 0) {
              break label444;
            }
            if (locale2.b() == 0)
            {
              if (i != 0) {
                break label444;
              }
              if (locale1.b() == 1)
              {
                if (i != 0) {
                  break label444;
                }
                if (locale4.a() == 2)
                {
                  if (i != 0) {
                    break label444;
                  }
                  if (locale3.a() == 1)
                  {
                    if (i != 0) {
                      break label444;
                    }
                    if (locale2.a() == 1)
                    {
                      if (i != 0) {
                        break label444;
                      }
                      if (locale1.a() == 2)
                      {
                        paramz.e();
                        paramz.e();
                        paramz.e();
                        paramz.e();
                        e locale5 = new e(locale4.d(), locale2.e(), 0, locale2.c(), 2);
                        paramz.add(locale5);
                        paramz.add(locale1);
                        l locall1 = locale4.d();
                        l locall2 = locale1.e();
                        if (i == 0) {
                          if (locale2.c().c(k.d))
                          {
                            l.a(i.this.b, locall2, locall1, 1);
                            if (i != 0) {
                              break label442;
                            }
                            if (!bool) {
                              break label441;
                            }
                          }
                        }
                        if (i == 0) {
                          if (locale2.c().c(k.b))
                          {
                            l.a(i.this.b, locall1, locall2, 1);
                            if (i != 0) {
                              break label442;
                            }
                            if (!bool) {
                              break label441;
                            }
                          }
                        }
                        if (i == 0) {
                          if (locale2.c().c(k.c))
                          {
                            l.a(i.this.c, locall1, locall2, 1);
                            if (i != 0) {
                              break label442;
                            }
                            if (!bool) {
                              break label441;
                            }
                          }
                        }
                        if (i == 0)
                        {
                          if (locale2.c().c(k.a)) {
                            l.a(i.this.c, locall2, locall1, 1);
                          }
                        }
                        else
                        {
                          if (i != 0) {
                            break label442;
                          }
                          if (!bool) {
                            break label441;
                          }
                        }
                        a.i.n.a("Consistency Error in rect decomp.");
                        label441:
                        label442:
                        return true;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      label444:
      return false;
    }
  }
  
  class g_
    implements i.d_
  {
    g_() {}
    
    public boolean a(z paramz)
    {
      int i = j.r;
      boolean bool = j.q;
      if (i == 0) {
        if (paramz.size() < 4) {
          return false;
        }
      }
      v localv = paramz.g();
      e locale1 = (e)localv.c();
      localv = localv.b();
      e locale2 = (e)localv.c();
      localv = localv.b();
      e locale3 = (e)localv.c();
      localv = localv.b();
      e locale4 = (e)localv.c();
      if (i == 0) {
        if (locale4.b() == 1)
        {
          if (i != 0) {
            break label431;
          }
          if (locale3.b() == 0)
          {
            if (i != 0) {
              break label431;
            }
            if (locale2.b() == 0)
            {
              if (i != 0) {
                break label431;
              }
              if (locale1.b() == 1)
              {
                if (i != 0) {
                  break label431;
                }
                if (locale4.a() == 2)
                {
                  if (i != 0) {
                    break label431;
                  }
                  if (locale3.a() == 1)
                  {
                    if (i != 0) {
                      break label431;
                    }
                    if (locale2.a() == 1)
                    {
                      if (i != 0) {
                        break label431;
                      }
                      if (locale1.a() == 2)
                      {
                        paramz.e();
                        paramz.e();
                        paramz.e();
                        e locale5 = new e(locale4.e(), locale1.e(), 0, locale1.c(), 2);
                        paramz.add(locale5);
                        l locall1 = locale4.d();
                        l locall2 = locale1.e();
                        if (i == 0) {
                          if (locale2.c().c(k.d))
                          {
                            l.a(i.this.b, locall1, locall2, 1);
                            if (i != 0) {
                              break label429;
                            }
                            if (!bool) {
                              break label428;
                            }
                          }
                        }
                        if (i == 0) {
                          if (locale2.c().c(k.b))
                          {
                            l.a(i.this.b, locall2, locall1, 1);
                            if (i != 0) {
                              break label429;
                            }
                            if (!bool) {
                              break label428;
                            }
                          }
                        }
                        if (i == 0) {
                          if (locale2.c().c(k.c))
                          {
                            l.a(i.this.c, locall2, locall1, 1);
                            if (i != 0) {
                              break label429;
                            }
                            if (!bool) {
                              break label428;
                            }
                          }
                        }
                        if (i == 0)
                        {
                          if (locale2.c().c(k.a)) {
                            l.a(i.this.c, locall1, locall2, 1);
                          }
                        }
                        else
                        {
                          if (i != 0) {
                            break label429;
                          }
                          if (!bool) {
                            break label428;
                          }
                        }
                        a.i.n.a("Consistency Error in rect decomp.");
                        label428:
                        label429:
                        return true;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      label431:
      return false;
    }
  }
  
  class a_
    implements i.d_
  {
    private i.g_ a = new i.g_(i.this);
    private i.e_ c = new i.e_(i.this);
    
    a_() {}
    
    public boolean a(z paramz)
    {
      int i = j.r;
      if (i == 0) {
        if (paramz.size() < 6) {
          return false;
        }
      }
      v localv = paramz.g();
      e locale1 = (e)localv.c();
      localv = localv.b();
      e locale2 = (e)localv.c();
      localv = localv.b();
      e locale3 = (e)localv.c();
      localv = localv.b();
      e locale4 = (e)localv.c();
      if (i == 0) {
        if (locale4.b() == 1)
        {
          if (i != 0) {
            break label185;
          }
          if (locale3.b() == 0)
          {
            if (i != 0) {
              break label185;
            }
            if (locale2.b() == 0)
            {
              if (i != 0) {
                break label185;
              }
              if (locale1.b() == 1)
              {
                if (i != 0) {
                  break label185;
                }
                if (locale4.a() == 2)
                {
                  if (i != 0) {
                    break label185;
                  }
                  if (locale3.a() == 1)
                  {
                    if (i != 0) {
                      break label185;
                    }
                    if (locale2.a() == 1)
                    {
                      if (i != 0) {
                        break label190;
                      }
                      if (locale1.a() == 2) {
                        break label186;
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
      label185:
      return false;
      label186:
      label190:
      if (i == 0) {
        if (locale1.g()) {
          return this.a.a(paramz);
        }
      }
      if ((i != 0) || (locale4.f())) {
        return this.c.a(paramz);
      }
      throw new RuntimeException("Cannot dispatch 1001 rule in KanCompactor !");
    }
  }
  
  class c_
    implements i.d_
  {
    c_() {}
    
    public boolean a(z paramz)
    {
      int i = j.r;
      boolean bool = j.q;
      if (i == 0) {
        if (paramz.size() < 4) {
          return false;
        }
      }
      v localv = paramz.g();
      e locale1 = (e)localv.c();
      localv = localv.b();
      e locale2 = (e)localv.c();
      localv = localv.b();
      e locale3 = (e)localv.c();
      localv = localv.b();
      e locale4 = (e)localv.c();
      if (i == 0) {
        if (locale4.b() == 0)
        {
          if (i != 0) {
            break label416;
          }
          if (locale3.b() == 0)
          {
            if (i != 0) {
              break label416;
            }
            if (locale2.b() == 0)
            {
              if (i != 0) {
                break label416;
              }
              if (locale1.b() == 1)
              {
                if (i != 0) {
                  break label416;
                }
                if (locale1.a() == 2)
                {
                  if (i != 0) {
                    break label416;
                  }
                  if (locale3.a() == 1)
                  {
                    if (i != 0) {
                      break label416;
                    }
                    if (locale2.a() == 1)
                    {
                      paramz.e();
                      paramz.e();
                      paramz.e();
                      e locale5 = new e(locale4.e(), locale1.e(), 0, locale1.c(), 2);
                      paramz.add(locale5);
                      l locall1 = locale4.d();
                      l locall2 = locale1.e();
                      if (i == 0) {
                        if (locale2.c().c(k.d))
                        {
                          l.a(i.this.b, locall1, locall2, 1);
                          if (i != 0) {
                            break label414;
                          }
                          if (!bool) {
                            break label413;
                          }
                        }
                      }
                      if (i == 0) {
                        if (locale2.c().c(k.b))
                        {
                          l.a(i.this.b, locall2, locall1, 1);
                          if (i != 0) {
                            break label414;
                          }
                          if (!bool) {
                            break label413;
                          }
                        }
                      }
                      if (i == 0) {
                        if (locale2.c().c(k.c))
                        {
                          l.a(i.this.c, locall2, locall1, 1);
                          if (i != 0) {
                            break label414;
                          }
                          if (!bool) {
                            break label413;
                          }
                        }
                      }
                      if (i == 0)
                      {
                        if (locale2.c().c(k.a)) {
                          l.a(i.this.c, locall1, locall2, 1);
                        }
                      }
                      else
                      {
                        if (i != 0) {
                          break label414;
                        }
                        if (!bool) {
                          break label413;
                        }
                      }
                      a.i.n.a("Consistency Error in rect decomp.");
                      label413:
                      label414:
                      return true;
                    }
                  }
                }
              }
            }
          }
        }
      }
      label416:
      return false;
    }
  }
  
  class b_
    implements i.d_
  {
    b_() {}
    
    public boolean a(z paramz)
    {
      int i = j.r;
      boolean bool = j.q;
      if (i == 0) {
        if (paramz.size() < 4) {
          return false;
        }
      }
      v localv = paramz.g();
      e locale1 = (e)localv.c();
      localv = localv.b();
      e locale2 = (e)localv.c();
      localv = localv.b();
      e locale3 = (e)localv.c();
      localv = localv.b();
      e locale4 = (e)localv.c();
      if (i == 0) {
        if (locale4.b() == 1)
        {
          if (i != 0) {
            break label430;
          }
          if (locale3.b() == 0)
          {
            if (i != 0) {
              break label430;
            }
            if (locale2.b() == 0)
            {
              if (i != 0) {
                break label430;
              }
              if (locale1.b() == 0)
              {
                if (i != 0) {
                  break label430;
                }
                if (locale4.a() == 2)
                {
                  if (i != 0) {
                    break label430;
                  }
                  if (locale3.a() == 1)
                  {
                    if (i != 0) {
                      break label430;
                    }
                    if (locale2.a() == 1)
                    {
                      paramz.e();
                      paramz.e();
                      paramz.e();
                      paramz.e();
                      e locale5 = new e(locale4.d(), locale2.e(), 0, locale2.c(), 2);
                      paramz.add(locale5);
                      paramz.add(locale1);
                      l locall1 = locale4.d();
                      l locall2 = locale1.e();
                      if (i == 0) {
                        if (locale4.c().c(k.d))
                        {
                          l.a(i.this.b, locall1, locall2, 1);
                          if (i != 0) {
                            break label428;
                          }
                          if (!bool) {
                            break label427;
                          }
                        }
                      }
                      if (i == 0) {
                        if (locale4.c().c(k.b))
                        {
                          l.a(i.this.b, locall2, locall1, 1);
                          if (i != 0) {
                            break label428;
                          }
                          if (!bool) {
                            break label427;
                          }
                        }
                      }
                      if (i == 0) {
                        if (locale4.c().c(k.c))
                        {
                          l.a(i.this.c, locall2, locall1, 1);
                          if (i != 0) {
                            break label428;
                          }
                          if (!bool) {
                            break label427;
                          }
                        }
                      }
                      if (i == 0)
                      {
                        if (locale4.c().c(k.a)) {
                          l.a(i.this.c, locall1, locall2, 1);
                        }
                      }
                      else
                      {
                        if (i != 0) {
                          break label428;
                        }
                        if (!bool) {
                          break label427;
                        }
                      }
                      a.i.n.a("Consistency Error in rect decomp.");
                      label427:
                      label428:
                      return true;
                    }
                  }
                }
              }
            }
          }
        }
      }
      label430:
      return false;
    }
  }
  
  class f_
    implements i.d_
  {
    f_() {}
    
    public boolean a(z paramz)
    {
      int i = j.r;
      boolean bool = j.q;
      if (i == 0) {
        if (paramz.size() < 4) {
          return false;
        }
      }
      v localv = paramz.g();
      e locale1 = (e)localv.c();
      localv = localv.b();
      e locale2 = (e)localv.c();
      localv = localv.b();
      e locale3 = (e)localv.c();
      localv = localv.b();
      e locale4 = (e)localv.c();
      if (i == 0) {
        if (locale4.b() == 1)
        {
          if (i != 0) {
            break label517;
          }
          if (locale3.b() == 0)
          {
            if (i != 0) {
              break label517;
            }
            if (locale2.b() == 0)
            {
              paramz.e();
              paramz.e();
              paramz.e();
              paramz.e();
              e locale5 = new e(locale4.d(), locale2.e(), 0, locale2.c(), 2);
              paramz.add(locale5);
              paramz.add(locale1);
              l locall1 = locale4.d();
              l locall2 = locale1.e();
              l locall3 = locale4.e();
              l locall4 = locale2.e();
              l locall5 = locale3.e();
              if (i == 0) {
                if (locale4.c().c(k.d))
                {
                  l.a(i.this.b, locall1, locall2, 1);
                  l.a(i.this.b, locall5, locall1, 1);
                  l.a(i.this.c, locall3, locall4, 1);
                  if (i != 0) {
                    break label515;
                  }
                  if (!bool) {
                    break label514;
                  }
                }
              }
              if (i == 0) {
                if (locale4.c().c(k.b))
                {
                  l.a(i.this.b, locall2, locall1, 1);
                  l.a(i.this.b, locall1, locall5, 1);
                  l.a(i.this.c, locall4, locall3, 1);
                  if (i != 0) {
                    break label515;
                  }
                  if (!bool) {
                    break label514;
                  }
                }
              }
              if (i == 0) {
                if (locale4.c().c(k.c))
                {
                  l.a(i.this.c, locall2, locall1, 1);
                  l.a(i.this.c, locall1, locall5, 1);
                  l.a(i.this.b, locall3, locall4, 1);
                  if (i != 0) {
                    break label515;
                  }
                  if (!bool) {
                    break label514;
                  }
                }
              }
              if (i == 0)
              {
                if (locale4.c().c(k.a))
                {
                  l.a(i.this.c, locall1, locall2, 1);
                  l.a(i.this.c, locall5, locall1, 1);
                  l.a(i.this.b, locall4, locall3, 1);
                }
              }
              else
              {
                if (i != 0) {
                  break label515;
                }
                if (!bool) {
                  break label514;
                }
              }
              a.i.n.a("Consistency Error in rect decomp.");
              label514:
              label515:
              return true;
            }
          }
        }
      }
      label517:
      return false;
    }
  }
  
  static abstract interface d_
  {
    public abstract boolean a(z paramz);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.d.i

 * JD-Core Version:    0.7.0.1

 */